from aiogram import Bot

from settings import settings
from .logger import debugger


async def alert_admin(bot: Bot, text: str):
    await bot.send_message(settings.bots.admin_id, text)
    debugger.info(f"Sent ADMIN TG: {text}")
